package com.mes.biz.mapper;

import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizInventoryOpeningDetails;

import java.util.List;

/**
 * 库存期初详情Mapper接口
 * @author wy
 * @email wy
 * @date 2023-06-08
 */
public interface BizInventoryOpeningDetailsMapper extends BaseMapper<BizInventoryOpeningDetails>
{

    /**
     * 批量删除库存期初详情
     * @param ids 需要删除的库存期初详情ID集合
     * @return
     */
    public int deleteBizInventoryOpeningDetailsByIds(@Param("ids") String[] ids, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);


    int deleteBizInventoryOpeningDetailsByOrderNo(@Param("orderNo") String orderNo, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);


    List<BizInventoryOpeningDetails> getListByOrderNo(@Param("orderNo") String orderNo);
}
